package com.hknc.btscale.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Unique;

import java.util.List;

public class GoodsBean {

    /**
     * goodsImg : http://hknm.feizhisoft.com/file/goods/2020/9/5/916e5e0f-5438-4562-8551-16b2d00220df.jpg
     * unit : 公斤
     * stallId : 1000
     * maxGoodsPrice : 0
     * merchantId : 909
     * goodsId : 12376
     * goodsPrice : 700
     * plu : 1
     * stallNo : 002
     * goodsName : 黑米
     * marketId : 4
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }
    public static class DataBean {
        private String goodsImg;
        private String unit;
        private int stallId;
        private String maxGoodsPrice;
        private int merchantId;
        private int goodsId;
        private String goodsPrice;
        @Unique
        private String plu;
        private String stallNo;
        private String goodsName;
        private int marketId;
        private String indexNo;
        private boolean isSendSuccess;

        public String getIndexNo() {
            return indexNo;
        }

        public void setIndexNo(String indexNo) {
            this.indexNo = indexNo;
        }

        public boolean isSendSuccess() {
            return isSendSuccess;
        }

        public void setSendSuccess(boolean sendSuccess) {
            isSendSuccess = sendSuccess;
        }

        public String getGoodsImg() {
            return goodsImg;
        }

        public void setGoodsImg(String goodsImg) {
            this.goodsImg = goodsImg;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getStallId() {
            return stallId;
        }

        public void setStallId(int stallId) {
            this.stallId = stallId;
        }

        public String getMaxGoodsPrice() {
            return maxGoodsPrice;
        }

        public void setMaxGoodsPrice(String maxGoodsPrice) {
            this.maxGoodsPrice = maxGoodsPrice;
        }

        public int getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(int merchantId) {
            this.merchantId = merchantId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(String goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public String getPlu() {
            return plu;
        }

        public void setPlu(String plu) {
            this.plu = plu;
        }

        public String getStallNo() {
            return stallNo;
        }

        public void setStallNo(String stallNo) {
            this.stallNo = stallNo;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getMarketId() {
            return marketId;
        }

        public void setMarketId(int marketId) {
            this.marketId = marketId;
        }
    }
}
